package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 联系人对象 sc_student_contact
 * 
 * @author ruoyi
 * @date 2023-12-31
 */
public class ScStudentContact extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 联系人编号 */
    private Long contactId;

    /** 学生 */
    @Excel(name = "学生")
    private Long studentId;

    /** 联系人称呼 */
    @Excel(name = "联系人称呼")
    private String contactNick;

    /** 与学生关系 */
    @Excel(name = "与学生关系")
    private String contactRelation;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactPhone;

    /** 创建者 */
    private String createUser;

    public void setContactId(Long contactId) 
    {
        this.contactId = contactId;
    }

    public Long getContactId() 
    {
        return contactId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setContactNick(String contactNick) 
    {
        this.contactNick = contactNick;
    }

    public String getContactNick() 
    {
        return contactNick;
    }
    public void setContactRelation(String contactRelation) 
    {
        this.contactRelation = contactRelation;
    }

    public String getContactRelation() 
    {
        return contactRelation;
    }
    public void setContactPhone(String contactPhone) 
    {
        this.contactPhone = contactPhone;
    }

    public String getContactPhone() 
    {
        return contactPhone;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contactId", getContactId())
            .append("studentId", getStudentId())
            .append("contactNick", getContactNick())
            .append("contactRelation", getContactRelation())
            .append("contactPhone", getContactPhone())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .toString();
    }
}
